﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004BF RID: 1215
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildGiveupScRsp : IMessage<EvolveBuildGiveupScRsp>, IMessage, IEquatable<EvolveBuildGiveupScRsp>, IDeepCloneable<EvolveBuildGiveupScRsp>, IBufferMessage
	{
		// Token: 0x17000FBF RID: 4031
		// (get) Token: 0x060036F0 RID: 14064 RVA: 0x000979AB File Offset: 0x00095BAB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildGiveupScRsp> Parser
		{
			get
			{
				return EvolveBuildGiveupScRsp._parser;
			}
		}

		// Token: 0x17000FC0 RID: 4032
		// (get) Token: 0x060036F1 RID: 14065 RVA: 0x000979B2 File Offset: 0x00095BB2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildGiveupScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000FC1 RID: 4033
		// (get) Token: 0x060036F2 RID: 14066 RVA: 0x000979C4 File Offset: 0x00095BC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildGiveupScRsp.Descriptor;
			}
		}

		// Token: 0x060036F3 RID: 14067 RVA: 0x000979CB File Offset: 0x00095BCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildGiveupScRsp()
		{
		}

		// Token: 0x060036F4 RID: 14068 RVA: 0x000979D4 File Offset: 0x00095BD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildGiveupScRsp(EvolveBuildGiveupScRsp other) : this()
		{
			this.levelInfo_ = ((other.levelInfo_ != null) ? other.levelInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060036F5 RID: 14069 RVA: 0x00097A20 File Offset: 0x00095C20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildGiveupScRsp Clone()
		{
			return new EvolveBuildGiveupScRsp(this);
		}

		// Token: 0x17000FC2 RID: 4034
		// (get) Token: 0x060036F6 RID: 14070 RVA: 0x00097A28 File Offset: 0x00095C28
		// (set) Token: 0x060036F7 RID: 14071 RVA: 0x00097A30 File Offset: 0x00095C30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildLevelInfo LevelInfo
		{
			get
			{
				return this.levelInfo_;
			}
			set
			{
				this.levelInfo_ = value;
			}
		}

		// Token: 0x17000FC3 RID: 4035
		// (get) Token: 0x060036F8 RID: 14072 RVA: 0x00097A39 File Offset: 0x00095C39
		// (set) Token: 0x060036F9 RID: 14073 RVA: 0x00097A41 File Offset: 0x00095C41
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060036FA RID: 14074 RVA: 0x00097A4A File Offset: 0x00095C4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildGiveupScRsp);
		}

		// Token: 0x060036FB RID: 14075 RVA: 0x00097A58 File Offset: 0x00095C58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildGiveupScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.LevelInfo, other.LevelInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060036FC RID: 14076 RVA: 0x00097AA8 File Offset: 0x00095CA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.levelInfo_ != null)
			{
				num ^= this.LevelInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060036FD RID: 14077 RVA: 0x00097AFD File Offset: 0x00095CFD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060036FE RID: 14078 RVA: 0x00097B05 File Offset: 0x00095D05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060036FF RID: 14079 RVA: 0x00097B10 File Offset: 0x00095D10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this.levelInfo_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.LevelInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003700 RID: 14080 RVA: 0x00097B6C File Offset: 0x00095D6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.levelInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LevelInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003701 RID: 14081 RVA: 0x00097BC4 File Offset: 0x00095DC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildGiveupScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.levelInfo_ != null)
			{
				if (this.levelInfo_ == null)
				{
					this.LevelInfo = new EvolveBuildLevelInfo();
				}
				this.LevelInfo.MergeFrom(other.LevelInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003702 RID: 14082 RVA: 0x00097C2C File Offset: 0x00095E2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003703 RID: 14083 RVA: 0x00097C38 File Offset: 0x00095E38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 114U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.levelInfo_ == null)
						{
							this.LevelInfo = new EvolveBuildLevelInfo();
						}
						input.ReadMessage(this.LevelInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040015AD RID: 5549
		private static readonly MessageParser<EvolveBuildGiveupScRsp> _parser = new MessageParser<EvolveBuildGiveupScRsp>(() => new EvolveBuildGiveupScRsp());

		// Token: 0x040015AE RID: 5550
		private UnknownFieldSet _unknownFields;

		// Token: 0x040015AF RID: 5551
		public const int LevelInfoFieldNumber = 14;

		// Token: 0x040015B0 RID: 5552
		private EvolveBuildLevelInfo levelInfo_;

		// Token: 0x040015B1 RID: 5553
		public const int RetcodeFieldNumber = 4;

		// Token: 0x040015B2 RID: 5554
		private uint retcode_;
	}
}
